macos: check for best_monitor before using
authorChristian Hergert <christian@hergert.me>
Mon, 28 Feb 2022 21:57:29 +0000 (13:57 -0800)
committerChristian Hergert <christian@hergert.me>
Wed, 2 Mar 2022 08:32:07 +0000 (00:32 -0800)
commite9abcde031f201bc41e80381970e72259d3c0bf6
treed94f6cd08c1b10951ed4363517928bd95ddb7009
parentfd7667246da19fe604a9f88faf59d51737a53b1c
macos: check for best_monitor before using

Make sure we have a monitor to enqueue/dequeue from before using it. That
also allows us to use this from destroy and what-not.
gdk/macos/gdkmacossurface.c